﻿<Window x:Class="iSmartCreatorApp.ImageAddWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="ImageAddWindow" Height="355" Width="334">
    <DockPanel LastChildFill="False">
        <TabControl DockPanel.Dock="Top">
            <TabItem Header="Location">
                <DockPanel>
                <GroupBox DockPanel.Dock="Top" Header="Image Location" BorderThickness="2">
                    <DockPanel>
                        <Label DockPanel.Dock="Top" Content="Enter or select image location"/>
                        <DockPanel LastChildFill="False" Dock="Top">
                            <TextBox x:Name="TxtBxImageLocation" Width="267" TextChanged="TxtBxImageLocation_TextChanged"/>
                            <Button x:Name="BtnSearchImage" Margin="5,0,0,0" Width="22" Click="BtnSearchImage_Click"/>
                        </DockPanel>
                        </DockPanel>
                    </GroupBox>
                    <GroupBox DockPanel.Dock="Top" Header="Alternative text">
                        <DockPanel Margin="0,8,0,0" Dock="Top">
                            <RadioButton x:Name="radioBtnUseAlt" DockPanel.Dock="Top" Margin="0,2,0,0" Content="Alternative text: " Checked="radioBtnUseAlt_Checked"/>
                                <TextBox x:Name="txtbxAltText" DockPanel.Dock="Top" Height="18" Margin="0,2,136,0"/>
                            <RadioButton x:Name="radioBtnDontUseAlt" DockPanel.Dock="Top" Margin="0,2,0,0" Content="Don't use alternative text" Checked="radioBtnDontUseAlt_Checked"/>
                        </DockPanel>
                        </GroupBox>
                    <GroupBox Header="Link">
                        <DockPanel>
                            <Label DockPanel.Dock="Top" Content="Enter a web page location, a local file, an e-mail address:"/>
                            <DockPanel DockPanel.Dock="Top" LastChildFill="False">
                                <TextBox x:Name="txtbxLink" Width="267" TextChanged="txtbxLink_TextChanged"/>
                                <Button x:Name="btnLinkSource" Margin="5,0,0,0" Width="22"/>
                            </DockPanel>
                            <CheckBox x:Name="chckbxBorder" Margin="0,5,0,0" Content="Border around image"/>
                        </DockPanel>
                    </GroupBox>
                </DockPanel>
            </TabItem>
        </TabControl>
        <Button x:Name="BtnCancel" DockPanel.Dock="Right" Content="Cancel" Margin="0,0,6,0" Width="70" Height="22" Click="BtnCancel_Click"/>
        <Button x:Name="BtnOk" DockPanel.Dock="Right" Content="OK" Margin="0,0,20,0" Width="70" Height="22" Click="BtnOk_Click"/>
    </DockPanel>
</Window>
